package com.rogue.employee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.rogue.employee.domain.HsEmployee;
import com.rogue.employee.domain.dto.DeptDTO;
import com.rogue.employee.domain.dto.ExamineDTO;
import com.rogue.employee.domain.dto.HsEmployeeDTO;
import com.rogue.employee.domain.vo.EmployeeVo;
import java.util.List;

/**
* @author Yeah
* @description 针对表【hs_employee(员工表)】的数据库操作Service
* @createDate 2022-03-16 14:33:08
*/
public interface HsEmployeeService extends IService<HsEmployee> {

    List<HsEmployee> getEmpByDeptId(Long id);

    Boolean updateDeptOfEmployee(DeptDTO dto);

    String examineIdCard(ExamineDTO examineDTO);

    PageInfo<EmployeeVo> listEmployee(HsEmployeeDTO hsEmployeeDTO);

    Boolean lockOrUnlockEmployee(Long id, Integer status);

    EmployeeVo selectEmpById(Long id);
}
